#import "OasisRadiateView.h"


@implementation OasisRadiateView



- (void)setKindred:(OasisRadiateModel *)kindred {
	_kindred = kindred;

	//: 配置cell的UI

}
- (UITextView *)hopefulVelvetTextView {
	if (!_hopefulVelvetTextView) {
	
        _hopefulVelvetTextView = [[UITextView alloc] initWithFrame:CGRectZero];
        _hopefulVelvetTextView.size = CGSizeMake(110, 145);
        _hopefulVelvetTextView.left = 36;
        _hopefulVelvetTextView.top = 31;
	}
	return _hopefulVelvetTextView;
}

//: self.invincibleButton 的点击事件
- (void)action_1 {}

- (UIView *)mingleEnigmaView {
	if (!_mingleEnigmaView) {
	
        _mingleEnigmaView = [[UIView alloc] init];
	}
	return _mingleEnigmaView;
}

//: 设置self.quiverZebraQuakeImageView的圆角
- (void)lantern:(UIImageView *)motion breezeKeyhole:(CGFloat)yardQuest {
	motion.layer.cornerRadius = yardQuest;
	motion.layer.masksToBounds = YES;
}

- (void)onyxGlowSetupUI {
	//: 描述_0
	[self addSubview:self.hopefulVelvetTextView];


    //: 描述_1
    self.invincibleButton = [[UIButton alloc] init];
    self.invincibleButton.frame = CGRectMake(41, 5, 164, 54);
    UIImage *kaleidoscopeGratitudeInspire = [UIImage imageNamed:@"images/icon_1.png"];
    if (kaleidoscopeGratitudeInspire) {
	    [self.invincibleButton setImage:kaleidoscopeGratitudeInspire forState:UIControlStateNormal];
    }
    [self.invincibleButton setTitle:@"button_1" forState:UIControlStateNormal];
    [self.invincibleButton setTitle:@"button_selected_1" forState:UIControlStateSelected];
    [self.invincibleButton setTitleColor:[UIColor colorWithRed:226/255.0 green:18/255.0 blue:235/255.0 alpha:0.7] forState:UIControlStateNormal];
    [self.invincibleButton setTitleColor:[UIColor colorWithRed:87/255.0 green:206/255.0 blue:143/255.0 alpha:0.5] forState:UIControlStateSelected];
    [self.invincibleButton addTarget:self action:@selector(action_1) forControlEvents:UIControlEventTouchUpInside];
    [self addSubview:self.invincibleButton];


    //: 描述_2
    self.artistryRippleGritTextView = [[UITextView alloc] initWithFrame:CGRectZero];
    self.artistryRippleGritTextView.size = CGSizeMake(64, 33);
    self.artistryRippleGritTextView.left = 37;
    self.artistryRippleGritTextView.top = 23;
    [self addSubview:self.artistryRippleGritTextView];

	//: 描述_3
	[self addSubview:self.mingleEnigmaView];
	[self.mingleEnigmaView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(154);
		make.height.mas_equalTo(117);
		make.top.equalTo(@(10));
		make.bottom.equalTo(@(16));
	}];


    //: 描述_4
    self.quiverZebraQuakeImageView = [UIImageView new];
    self.quiverZebraQuakeImageView.contentMode = UIViewContentModeScaleAspectFill;
    self.quiverZebraQuakeImageView.clipsToBounds = YES;
    //: UIImageView的骚操作 充数
    [self lantern:self.quiverZebraQuakeImageView breezeKeyhole:13];
    self.quiverZebraQuakeImageView.size = CGSizeMake(131, 66);
    self.quiverZebraQuakeImageView.left = 24;
    self.quiverZebraQuakeImageView.top = 17;
    UIImage *wonderPrism = [UIImage imageNamed:@"images/image_4.png"];
    if (wonderPrism) {
	    self.quiverZebraQuakeImageView.image = wonderPrism;
    }
    [self addSubview:self.quiverZebraQuakeImageView];
}


@end